tailor (something) to fit

Translations
adapter (quelque chose) pour qu'il s'ajuste
Definitions
To modify or adjust something, such as a plan, product, or service, to meet specific needs or requirements of an individual or situation.